import request from '@/utils/request'

export const getAttrInfoListApi = (Category1Id, Category2Id, Category3Id) => {
  return request({
    url: `/admin/product/attrInfoList/${Category1Id}/${Category2Id}/${Category3Id}`
  })
}
export const SaveAttrInfoApi = (obj) => {
  return request({
    url: '/admin/product/saveAttrInfo',
    method: 'post',
    data: obj
  })
}

export const DelAttrInfoApi = (attrId) => {
  return request({
    url: `/admin/product/deleteAttr/${attrId}`,
    method: 'delete'
  })
}
